package cn.xuewenbao.demo.entity;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import org.jeecgframework.poi.excel.annotation.Excel;

import cn.xuewenbao.base.core.BaseEntity;

/**
 * @Description: 测试 demo 实体对象
 * @Author: wd
 * @Date: 2021-3-21
 * @Version: V1.0
 */
@ApiModel(value = "测试DEMO实体对象", description = "测试DEMO")
@TableName("demo")
public class Demo extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "部门编码")
	@Excel(name = "部门编码", width = 25)
	private String sysOrgCode;

	@ApiModelProperty(value = "姓名")
	@Excel(name = "姓名", width = 25)
	private String name;

	@ApiModelProperty(value = "关键词")
	@Excel(name = "关键词", width = 15)
	private String keyWord;

	@ApiModelProperty(value = "打卡时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "打卡时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	private Date punchTime;

	@ApiModelProperty(value = "工资", example = "0")
	@Excel(name = "工资", width = 15)
	private BigDecimal salaryMoney;

	@ApiModelProperty(value = "奖金", example = "0")
	@Excel(name = "奖金", width = 15)
	private Double bonusMoney;

	/** 性别 {男:1,女:2} */
	@ApiModelProperty(value = "性别")
	@Excel(name = "性别", width = 15, dicCode = "sex")
	private String sex;

	@ApiModelProperty(value = "年龄", example = "0")
	@Excel(name = "年龄", width = 15)
	private Integer age;

	@ApiModelProperty(value = "生日")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "生日", format = "yyyy-MM-dd")
	private Date birthday;

	@ApiModelProperty(value = "邮箱")
	@Excel(name = "邮箱", width = 30)
	private String email;

	@ApiModelProperty(value = "个人简介")
	private String content;

	public String getSysOrgCode() { return sysOrgCode; }

	public void setSysOrgCode(String sysOrgCode) { this.sysOrgCode = sysOrgCode; }

	public String getName() { return name; }

	public void setName(String name) { this.name = name; }

	public String getKeyWord() { return keyWord; }

	public void setKeyWord(String keyWord) { this.keyWord = keyWord; }

	public Date getPunchTime() { return punchTime; }

	public void setPunchTime(Date punchTime) { this.punchTime = punchTime; }

	public BigDecimal getSalaryMoney() { return salaryMoney; }

	public void setSalaryMoney(BigDecimal salaryMoney) { this.salaryMoney = salaryMoney; }

	public Double getBonusMoney() { return bonusMoney; }

	public void setBonusMoney(Double bonusMoney) { this.bonusMoney = bonusMoney; }

	public String getSex() { return sex; }

	public void setSex(String sex) { this.sex = sex; }

	public Integer getAge() { return age; }

	public void setAge(Integer age) { this.age = age; }

	public Date getBirthday() { return birthday; }

	public void setBirthday(Date birthday) { this.birthday = birthday; }

	public String getEmail() { return email; }

	public void setEmail(String email) { this.email = email; }

	public String getContent() { return content; }

	public void setContent(String content) { this.content = content; }
}
